
<include file="Flat:header" />
<style media="screen">
.content {
    background: #fff;
    padding: 10px 0 100px;
    margin-bottom: 60px;
}
.content img {
    max-width: 100%;
    height: auto;
}
.content h4 {
    font-size: 20px;
    text-align: center;
}
.button {
    /* background: #fff; */
    /* width: 106px; */
    position: fixed;
    bottom: 10px;
    left: 50%;
    margin-left: -105.5px;
}
</style>

<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-xs-12 pln prn">

			<include file="Flat:top-nav" />
        </div>
        <div class="col-xs-3 col-sm-3 col-md-2 hidden-xs" style="margin-left: -15px;">

			<include file="Flat:side-nav" />
        </div>
        <div class="col-xs-12 col-sm-9 col-md-10" >
            <div class="content" style="padding:30px;" >
                <!-- <h4>{$actInfo[title]}</h4> -->
                {$content}
                <!-- asfhsifjosjd -->
				
				<br><br>
				<a style="display:block; margin:0 auto; width:140px;<?php if($actInfo['is_score']==1){  echo 'display:none'; } ?>"  href="__APP__/StudentApi/reg/add_type/1/acid/{$actInfo['activity_id']}"  class="btn btn-sm btn-info">马上报名</a>
										
			
            </div>
			
        </div>
        
    </div>


</div>
</body>
<include file="Flat:footer" />

<script type="text/javascript">
var type="<?php echo $_REQUEST['type']; ?>";
var isZhaosheng = "<?php echo $actInfo[is_zhaosheng]; ?>";
console.log(isZhaosheng);
if (isZhaosheng == 0) {
    $('.button').remove();
}

switch (type) {
    case 'activity':
        // $.post(parameter.getActivityInfo, {activity_id: <?php echo $_REQUEST['acid']; ?>}, function(data) {
        //     var json = JSON.parse(data);
        //     $('.content')
        //         .append('<h4>' + json.title + '</h4><hr />')
        //         .append(json.content);
        // });

        break;
    case 'help':

        break;
}
</script>
